/**
 * Created by DELL on 2017/5/23.
 */
//个人设置页面控制器
var appSet=angular.module('appTeacher',['ngResource','ngRoute','oc.lazyLoad','ngCookies']);
appSet.controller("setCtr", function ($scope, $resource, $cookieStore) {
    $scope.username = $cookieStore.get("loginInfo").name;
    $scope.loginOut = function () {
        $cookieStore.remove('loginInfo');
        window.location.href = '../../login.html';
    }
});